﻿using System;
using System.Xml.Serialization;

namespace Useful.MVP2
{
    public abstract class BaseListModel : IDisposable
    {
        [XmlIgnore]
        public bool AllowView { get; set; }

        [XmlIgnore]
        public bool AllowAdd { get; set; }

        [XmlIgnore]
        public bool AllowEdit { get; set; }

        [XmlIgnore]
        public bool AllowDelete { get; set; }

        [XmlIgnore]
        public object ListDataSource { get; set; }

        public abstract void Dispose();
    }
}
